<div class="wrapper">
    <div class="block_left">
        <div class="block_left_list">
            <h1>列表<?php echo ' - '.$title['cname']; ?>：</h1>
            <ul>
                <?php if(!empty($list)):?>
                <?php foreach($list as $k=>$v):?>
                    <li <?php if(count($list) == ($k+1)):?>class="no_border"<?php endif;?>><a href="/index.php?c=detail&id=<?php echo $v['tid'];?>"><?php echo $v['title'];?></a><span><?php echo date("Y-m-d",$v['datetime']);?></span></li>
                <?php endforeach;?>
                <?php else: ?>
                    暂无新闻
                <?php endif;?>
            </ul>
            <span class="page">
                <?php if($page['count'] > 1):?>
                    <a href="/index.php?c=news&cid=<?php echo $cid;?>">首页</a>&nbsp;&nbsp;
                    <a href="/index.php?c=news&cid=<?php echo $cid;?>&page=<?php echo $page['prev'];?>">上一页</a>&nbsp;&nbsp;
                    <a href="/index.php?c=news&cid=<?php echo $cid;?>&page=<?php echo $page['next'];?>">下一页</a>&nbsp;&nbsp;
                    <a href="/index.php?c=news&cid=<?php echo $cid;?>&page=<?php echo $page['count'];?>">尾页</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <span>第<?php echo $page['current'];?>页&nbsp;/&nbsp;共<?php echo $page['count'];?>页</span>
                <?php endif;?>
            </span>
        </div>
    </div>
    
    <div class="block_right">
        <div class="block_right_content">
            <div class="right_content_inner">
                <span class="title">通知公告</span>
                <ul>
                    <?php foreach($cid_7 as $value):?>
                    <li><span><?php echo date("Y-m-d",$value['datetime']);?></span>&nbsp;&nbsp;<a href="/index.php?c=detail&id=<?php echo $value['tid'];?>" target="_blank"><?php echo $value['title'];?></a></li>
                    <?php endforeach;?>
                </ul>
            </div>            
        </div>
        
        <div class="block_right_content">
            <div class="right_content_inner">
                <span class="title">热点信息</span>
                <ul>
                    <?php foreach($cid_8 as $value):?>
                    <li><span><?php echo date("Y-m-d",$value['datetime']);?></span>&nbsp;&nbsp;<a href="/index.php?c=detail&id=<?php echo $value['tid'];?>" target="_blank"><?php echo $value['title'];?></a></li>
                    <?php endforeach;?>
                </ul>
            </div>            
        </div>
        
        <div class="block_right_content">
            <div class="right_content_inner">
                <span class="title">自由测试</span>
                <ul>
                    <?php foreach($cid_9 as $value):?>
                    <li><a href="<?php echo $value['link'];?>" target="_blank"><?php echo $value['title'];?></a></li>
                    <?php endforeach;?>
                </ul>
            </div>            
        </div>
        
        <div class="block_right_content">
            <div class="right_content_inner">
                <span class="title">热点链接</span>
                <ul>
                    <?php foreach($cid_10 as $value):?>
                    <li><a href="<?php echo $value['link'];?>" target="_blank"><?php echo $value['title'];?></a></li>
                    <?php endforeach;?>
                </ul>
            </div>            
        </div>
    </div> 
    <div class="clearfix"></div>   
</div>

